Skip to content

Migrate from httpx to httpx2 - #4559

Merged
r4victor merged 5 commits into
masterfrom
issue_4427_httpx2
Nov 30, 2026
Merged

r4victor merged 5 commits into
masterfrom
issue_4427_httpx2

Conversation

@r4victor

Copy link
Copy Markdown
Collaborator

Part of #4427.

  • Replace httpx with httpx2 everywhere, make httpx2 (>=2.16.2) a base dependency, and instrument it with HTTPX2ClientInstrumentor only.
  • Fall back to the certifi bundle when there are no system CA certificates outside macOS and Windows, since httpx2 no longer uses certifi and would fail all HTTPS in images without ca-certificates; for now this applies to the Vast.ai client, the only httpx2 client that talks to a public HTTPS endpoint.

@r4victor
r4victor merged commit 321f40c into master Nov 30, 2026
26 checks passed
@r4victor
r4victor deleted the issue_4427_httpx2 branch November 30, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant